package com.zcm.modules.cxf.utils;
import com.zcm.common.utils.CacheUtils;

public class CxfMsgCodeUtils{
	public static String CACHE_TYPE_msgCode = "msgCode";
	static public String getMsgCode(String mobile) {
		Object obj = CacheUtils.get(CACHE_TYPE_msgCode,mobile);
		if(obj==null){
			return null;
		}
		return (String) obj;
	}
	static public void setMsgCode(String mobile,String code) {
		CacheUtils.put(CACHE_TYPE_msgCode,mobile,code);
	}
}
